#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<math.h>
int main()
{
	int a = 0;
	scanf("%d", &a);
	int i = 0;
	if (a < 0) {
		printf("fu\n");
	}
	i=abs(a);
	int t = i;
	int first = 0;
	while (t > 0) {
		t /= 10;
		first++;
	}
	for (t = 1; first > 1; first--) {
		t *= 10;
	}
	//printf("%d\n", t);
	while (t>0) {
		first = i / t;
		//printf("%d %d\n", first,i);
		switch (first) {
		case 0:printf("ling\n");
			break;
		case 1:printf("yi\n");
			break;
		case 2:printf("er\n");
			break;
		case 3:printf("san\n");
			break;
		case 4:printf("si\n");
			break;
		case 5:printf("wu\n");
			break;
		case 6:printf("liu\n");
			break;
		case 7:printf("qi\n");
			break;
		case 8:printf("ba\n");
			break;
		case 9:printf("jiu\n");
			break;
		}
		i = i % t;
		t /= 10;
		//printf("%d %d\n", i, t);
		
	}
	
	return 0;
}